export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/login/index',
    'pages/home/index',
    'pages/my-info/index',
    "pages/notice/index",
    "pages/expense-management/index",
    "pages/expense-form/index",
    "pages/expense-detail/index",
    "pages/operation-management/index",
    "pages/project-management/index",
    "pages/project-form/index",
    "pages/supervision-issue/index",
    "pages/issue-detail/index",
    "pages/issue-form/index",
    "pages/bond-futures/index",
    "pages/operation-detail/index",
    "pages/operation-form/index",
    "pages/expense-statistics/index",
    "pages/my-info-form/index",
    "pages/regulatory-form/index",
    "pages/payee/index",
    "pages/payee-form/index",
    "pages/draw-area/index",
    "pages/plan-form/index",
    "pages/fulfill-form/index",
    "pages/message-managment/index",
    "pages/notice-detail/index",
    "pages/performance-detail/index",
    "pages/performance-form/index",
    'pages/account-form/index'
    // "pages/project-detail/index"
  ],
  subPackages: [
    {
      root: 'packages/detail',  // 子包根目录
      pages: ['pages/index'],
      independent: true            // 设置为独立分包
    }
  ],
  requiredPrivateInfos:['chooseLocation'],

  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  tabBar:{
    color:"#BCBCBC",
    selectedColor:"#3051BE",
    backgroundColor: "#fff",
    borderStyle: "white",
    list:[
      {
        pagePath:"pages/index/index",
        text:"首页",
        iconPath:"assets/bar/i1_off.png",
        selectedIconPath:"assets/bar/i1_on.png"
      },
      {
        pagePath:"pages/home/index",
        text:"我的",
        iconPath:"assets/bar/i2_off.png",
        selectedIconPath:"assets/bar/i2_on.png"
      },
    ]
  }
})
